package com.jie.demo.mock;

public class UserService {
    public UserDao userDao;

//    private UserService(String s1) {
//        System.out.println("Constructor 1 called");
//    }
//    public UserService() {
//        System.out.println("Constructor 0 called");
//    }
//    private UserService(UserDao userDao, String s2) {
//        System.out.println("Constructor 2 called");
//        this.userDao = userDao;
//    }

    public void setUserDao(UserDao userDao) {
        System.out.println("call setter");
        this.userDao = userDao;
    }
}
